package com.vrv.app.chart;

import com.vrv.app.R;
import com.vrv.common.chart.builder.LineChartBuilder;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;

public class LineChartDemoActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.chart_view);
        LinearLayout chartView = (LinearLayout) findViewById(R.id.chart_view);
        View view = new LineChartBuilder().buildChartView(LineChartDemoActivity.this);
        chartView.addView(view);
    }

}
